package com.zh.jbet.web.pages;

import com.zh.jbet.web.BaseSession;
import com.zh.jbet.web.menu.MenuConfig;
import com.zh.jbet.web.panels.bet.BetStartPanel;
import org.apache.wicket.PageParameters;
import org.apache.wicket.authorization.strategies.role.annotations.AuthorizeInstantiation;

/**
 * Homepage
 */
@AuthorizeInstantiation({BaseSession.ROLE_PLAYER})
@MenuConfig(context={BetStartPanel.class})
public class BetPage extends BasePage {

    private static final long serialVersionUID = 1L;

    public BetPage(final PageParameters parameters) {
        super(parameters);
    }

    @Override
    public BasePanel buildContent(String id, final PageParameters parameters) {
        return new BetStartPanel(id, null);
    }

}
